package com.wen.bean;

import java.util.Date;

/**
 * 要求：bean的属性名和数据库的字段名保持一致；可以忽略大小写
 * @author Lenovo-Healer
 */
public class UserInfoBean {
    /**
     * 编号
     */
    private Integer userId;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 密码
     */
    private String userPsw;
    /**
     * 电话号码
     */
    private String phone;
    /**
     * 日期
     */
    private Date userDate;
    /**
     * 日期
     */
    private Date userDate2;
    /**
     * 日期
     */
    private int userDelete;

    public UserInfoBean() {
    }

    public UserInfoBean(String userName, String phone) {
        this.userName = userName;
        this.phone = phone;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPsw() {
        return userPsw;
    }

    public void setUserPsw(String userPsw) {
        this.userPsw = userPsw;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getUserDate() {
        return userDate;
    }

    public void setUserDate(Date userDate) {
        this.userDate = userDate;
    }

    public Date getUserDate2() {
        return userDate2;
    }

    public void setUserDate2(Date userDate2) {
        this.userDate2 = userDate2;
    }

    public int getUserDelete() {
        return userDelete;
    }

    public void setUserDelete(int userDelete) {
        this.userDelete = userDelete;
    }

    @Override
    public String toString() {
        return "UserInfoBean{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userPsw='" + userPsw + '\'' +
                ", phone='" + phone + '\'' +
                ", userDate=" + userDate +
                ", userDate2=" + userDate2 +
                ", userDelete=" + userDelete +
                '}';
    }
}
